RebelCode\Aggregator\Core\Utils\Time S

Total Complexity 27
Dependencies 6
Dependents 18
Total lines 287
Lines of code 126
Logical lines of code 65
Comment lines 107
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
parseTimeString()
S
61 5 10
getSiteTimezone()
S
60 3 13
normalizeDatetime()
S
59 2 14
getWpTz()
S
60 2 13
createAndCatch()
S
69 2 7
toHumanFormat()
S
79 2 3
useWpTimezone()
S
62 1 13
timeOfDaySeconds()
S
78 1 3
secondsToTimeStr()
S
67 1 7
make()
S
76 1 3
getTimeOfDay()
S
76 1 3
getStartOfHour()
S
71 1 5
getStartOfDay()
S
71 1 5
getStartOfWeek()
S
71 1 5
getStartOfMonth()
S
75 1 4
switchTimezone()
S
65 1 10
switchToWpTz()
S
69 1 8